package com.bskj.common.bean.vo;

import java.util.Date;

import com.bskj.common.utils.DateTimeUtil;

/**
 * 无感支付平台 基本请求VO
 * @author lishi
 * @date 2018年5月14日 上午10:14:51
 */
public class NoSenseParkingBaseVo {
	private String appid;
	private String timestamp;
	private String type;
	private String method;
	private String notifyUrl;
	private String data;
	private String signType;
	private String sign;

	protected NoSenseParkingBaseVo(String appid, String type, String signType, String sign) {
		this.appid = appid;
		this.type = type;
		this.signType = signType;
		this.sign = sign;
		try {
			this.timestamp = DateTimeUtil.date2String(new Date(), "yyyyMMddHHmmss");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}
}
